home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 March
/
PCWorld_2007-03_cd.bin
/
komunikace
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Load Two Frames.sd
< prev
next >
Wrap
INI File
|
2006-09-13
|
736b
|
47 lines
[SUBJECT]
Description=Load two different pages into two separate frames
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- Begin
;function loadFrames(page1, page2) {
;framecode = "<frameset rows='50%,50%'>"
;+ "<frame src='" + page1 + "'>"
;+ "<frame src='" + page2 + "'>"
;+ "</frameset>";
;
;page = window.open("");
;page.document.open();
;page.document.write(framecode);
;page.document.close();
;}
;// End -->
;</script>
;
[BODY_TEXT]
;<a href="javascript:loadFrames('`url1`','`url2`')">`caption`</a>
[`url1`]
Kind=U
Value=http://www.aol.com
[`url2`]
Kind=U
Value=http://www.excite.com
[`caption`]
Kind=S
Value=Load AOL and Excite.com in Frames!